function answer=generateWeightVector(layerNeurons)

    for i=1:cols(layerNeurons)-1
        W = zeros(layerNeurons(i+1), layerNeurons(i)+1);
        answer{i} = setRandomWeights(W);
    end
end

function answer=setRandomWeights(W)
    ceil = 0.5;
    floor = -0.5;
    answer = rand(size(W))*(ceil - floor) + floor;
end